<template>
  <div class="nav">
    <div class="nav-left">
      <el-icon class="icon"><Expand /></el-icon>
      <!-- <el-breadcrumb separator="/">
        <el-breadcrumb-item :to="{ path: '/' }">homepage</el-breadcrumb-item>
        <el-breadcrumb-item
          ><a href="/">promotion management</a></el-breadcrumb-item
        >
        <el-breadcrumb-item>promotion list</el-breadcrumb-item>
        <el-breadcrumb-item>promotion detail</el-breadcrumb-item>
      </el-breadcrumb> -->
    </div>
    <div class="nav-right">
      <el-dropdown>
        <span>
          <img class="image" src="@/assets/a.png" alt="" />
        </span>
        <template #dropdown>
          <el-dropdown-menu>
            <el-dropdown-item>个人中心</el-dropdown-item>
            <el-dropdown-item>退出</el-dropdown-item>
          </el-dropdown-menu>
        </template>
      </el-dropdown>
    </div>
  </div>
</template>

<script setup lang="ts">
import { ref } from "vue";
</script>

<style scoped lang="scss">
.nav {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  .nav-right {
    .image {
      width: 30px;
      height: 30px;
      display: block;
    }
  }
  .nav-left {
    display: flex;
    .icon {
      margin-right: 20px;
    }
  }
}
</style>
